package thread.test1Io;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by majian8 on 2019/6/9.
 */
public class User implements Serializable {
    private static final long serialVersionUID = 1071027177196789903L;
    private int id;
    private String name;
    private int age;
    private Date date;
    private transient String desc;

    public User( String name,int age, Date date,String desc) {
        this.name = name;
        this.age = age;
        this.date = date;
        this.desc = desc;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
